base-files: armsr: add script to migrate GPIO switches on Ten64 board
authorMathew McBride <matt@traverse.com.au>
Mon, 1 Apr 2024 03:44:47 +0000 (14:44 +1100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 7 May 2024 12:01:20 +0000 (13:01 +0100)
commitffbc4c897fe643845bdf9746be7335938db374e4
tree9d5689152125a7e7195c38081c14ed62ca9683d8
parent5f609d8960f0ad4f5bd59a69facaeb2739c6e625
base-files: armsr: add script to migrate GPIO switches on Ten64 board

Due to a change in kernel 6.2, the GPIO numbers on certain
architectures (including arm64) have changed. This script
will update any defined GPIO switches to the new numbering.

See https://lists.openwrt.org/pipermail/openwrt-devel/2024-March/042448.html
for more information.

In the future, the GPIO switch mechanism will likely be
replaced with something using libgpiod.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
target/linux/armsr/base-files/etc/uci-defaults/05-migrate-ten64-gpio [new file with mode: 0644]